package com.sdjz.club.club.mapper;

import com.sdjz.club.club.entity.Favorite;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Dftre
 * @since 2022-08-06
 */
@Mapper
public interface FavoriteMapper extends BaseMapper<Favorite> {
    List<Object> getOrganizationByUserId(@Param("userId")Long userId);
    List<Object> getEventByUserId(@Param("userId")Long userId);
}
